{% extends "intest/base.html" %}
{% block title %}UI自动化测试/生产环境{% endblock %}
{% load staticfiles %}
{% block css %}
    <link rel="stylesheet" type="text/css" href="{% static "intest/css/uiTest.css" %}">
{% endblock %}
{% block js %}
    <script type="text/javascript" src="{% static "intest/js/uiTest.js" %}"></script>
{% endblock %}
{% block content %}
<div id="wrap">
    <div class="panel panel-default">
        <div class="panel-body">
            <div class="row tableHeader">
                <div style="text-align: center"
                     class="col-lg-1 col-md-1 col-sm-1 col-xs-1 ">
                    编码
                </div>
                <div style="text-align: center"
                     class="col-lg-4 col-md-4 col-sm-4 col-xs-4">
                    名称
                </div>
                <div style="text-align: center"
                     class="col-lg-5 col-md-5 col-sm-5 col-xs-5">
                    链接
                </div>
                <div style="text-align: center"
                     class="col-lg-2 col-md-2 col-sm-2 col-xs-2">
                    操作
                </div>
            </div>
        </div>
    </div>
    <div class="tablebody">
        <div class="row">
            <div style="text-align: center"
                 class="col-lg-1 col-md-1 col-sm-1 col-xs-1">
                <span style="background-color: #2aabd2" class="badge">1</span>
            </div>
            <div style="text-align: center"
                 class="col-lg-4 col-md-4 col-sm-4 col-xs-4">
                <span>闪电借款极速</span>
            </div>
            <div style="text-align: center"
                 class="col-lg-5 col-md-5 col-sm-5 col-xs-5">
                http://20.1.1.210/jenkins
            </div>
            <div style="text-align: center"
                 class="col-lg-2 col-md-2 col-sm-2 col-xs-2">
                <button class="btn btn-default btn-xs" data-toggle="modal"
                        data-target="#myEmail">邮件
                </button>
                <button id="btnruner20" class="btn btn-success btn-xs"
                        disabled="disabled" data-loading-text="执行中"
                        onclick=run20()>执行
                </button>
            </div>
        </div>
    </div>
    <div class="tablebody">
        <div class="row">
            <div style="text-align: center"
                 class="col-lg-1 col-md-1 col-sm-1 col-xs-1">
                <span style="background-color: #2aabd2" class="badge">2</span>
            </div>
            <div style="text-align: center"
                 class="col-lg-4 col-md-4 col-sm-4 col-xs-4">
                <span>掌e贷极速</span>
            </div>
            <div style="text-align: center"
                 class="col-lg-5 col-md-5 col-sm-5 col-xs-5">
                http://20.1.1.210/jenkins
            </div>
            <div style="text-align: center"
                 class="col-lg-2 col-md-2 col-sm-2 col-xs-2">
                <button class="btn btn-default btn-xs" data-toggle="modal"
                        data-target="#myEmail">邮件
                </button>


                <button id="btnruner5" class="btn btn-success btn-xs"
                        disabled="disabled" data-loading-text="执行中"
                        onclick="run5()">执行
                </button>
            </div>
        </div>
    </div>
    <div class="tablebody">
        <div class="row">
            <div style="text-align: center"
                 class="col-lg-1 col-md-1 col-sm-1 col-xs-1">
                <span style="background-color: #2aabd2" class="badge">3</span>
            </div>
            <div style="text-align: center"
                 class="col-lg-4 col-md-4 col-sm-4 col-xs-4">
                <span>掌e贷授信</span>
            </div>
            <div style="text-align: center"
                 class="col-lg-5 col-md-5 col-sm-5 col-xs-5">
                http://20.1.1.210/jenkins
            </div>
            <div style="text-align: center"
                 class="col-lg-2 col-md-2 col-sm-2 col-xs-2">
                <button class="btn btn-default btn-xs" data-toggle="modal"
                        data-target="#myEmail">邮件
                </button>

                <button id="btnruner37" class="btn btn-success btn-xs"
                        disabled="disabled" data-loading-text="执行中"
                        onclick="run37()">执行
                </button>
            </div>
        </div>
    </div>
    <div class="tablebody">
        <div class="row">
            <div style="text-align: center"
                 class="col-lg-1 col-md-1 col-sm-1 col-xs-1">
                <span style="background-color: #2aabd2" class="badge">4</span>
            </div>
            <div style="text-align: center"
                 class="col-lg-4 col-md-4 col-sm-4 col-xs-4">
                <span>掌e贷全流程</span>
            </div>
            <div style="text-align: center"
                 class="col-lg-5 col-md-5 col-sm-5 col-xs-5">
                http://20.1.1.210/jenkins
            </div>
            <div style="text-align: center"
                 class="col-lg-2 col-md-2 col-sm-2 col-xs-2">
                <button class="btn btn-default btn-xs" data-toggle="modal"
                        data-target="#myEmail">邮件
                </button>

                <button id="btnruner7" class="btn btn-success btn-xs"
                        disabled="disabled" data-loading-text="执行中"
                        onclick="run7()">执行
                </button>
            </div>
        </div>
    </div>
    <div class="tablebody">
        <div class="row">
            <div style="text-align: center"
                 class="col-lg-1 col-md-1 col-sm-1 col-xs-1">
                <span style="background-color: #2aabd2" class="badge">5</span>
            </div>
            <div style="text-align: center"
                 class="col-lg-4 col-md-4 col-sm-4 col-xs-4">
                <span>闪电借款授信</span>
            </div>
            <div style="text-align: center"
                 class="col-lg-5 col-md-5 col-sm-5 col-xs-5">
                http://20.1.1.210/jenkins
            </div>
            <div style="text-align: center"
                 class="col-lg-2 col-md-2 col-sm-2 col-xs-2">
                <button class="btn btn-default btn-xs" data-toggle="modal"
                        data-target="#myEmail">邮件
                </button>
                <button id="btnruner35" class="btn btn-success btn-xs"
                        disabled="disabled" data-loading-text="执行中"
                        onclick="run35()">执行
                </button>
            </div>
        </div>
    </div>
    <div class="tablebody">
        <div class="row">
            <div style="text-align: center"
                 class="col-lg-1 col-md-1 col-sm-1 col-xs-1">
                <span style="background-color: #2aabd2" class="badge">6</span>
            </div>
            <div style="text-align: center"
                 class="col-lg-4 col-md-4 col-sm-4 col-xs-4">
                <span>闪电借款全流程</span>
            </div>
            <div style="text-align: center"
                 class="col-lg-5 col-md-5 col-sm-5 col-xs-5">
                http://20.1.1.210/jenkins
            </div>
            <div style="text-align: center"
                 class="col-lg-2 col-md-2 col-sm-2 col-xs-2">
                <button class="btn btn-default btn-xs" data-toggle="modal"
                        data-target="#myEmail">邮件
                </button>
                <button id="btnruner25" class="btn btn-success btn-xs"
                        disabled="disabled" data-loading-text="执行中"
                        onclick="run25()">执行
                </button>
            </div>
        </div>
    </div>
    <div class="tablebody">
        <div class="row">
            <div style="text-align: center"
                 class="col-lg-1 col-md-1 col-sm-1 col-xs-1">
                <span style="background-color: #2aabd2" class="badge">7</span>
            </div>
            <div style="text-align: center"
                 class="col-lg-4 col-md-4 col-sm-4 col-xs-4">
                <span>掌众财富全流程</span>
            </div>
            <div style="text-align: center"
                 class="col-lg-5 col-md-5 col-sm-5 col-xs-5">
                http://20.1.1.210/jenkins
            </div>
            <div style="text-align: center"
                 class="col-lg-2 col-md-2 col-sm-2 col-xs-2">
                <button class="btn btn-default btn-xs" data-toggle="modal"
                        data-target="#myEmail">邮件
                </button>


                <button id="btnruner41" class="btn btn-success btn-xs"
                        disabled="disabled" data-loading-text="执行中"
                        onclick="run41()">执行
                </button>
            </div>
        </div>
    </div>
    <br>
    <div style="text-align:center;bottom: 0;">
        <span style=" color: red">说明：不可点击的执行,为已有任务执行中!</span>

    </div>
</div>
<div class="modal fade" id="myEmail" tabindex="-1" role="dialog"
     aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close"
                        data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
                <h4 class="modal-title" id="myModalLabel">
                    邮件</h4>
            </div>
            <div class="modal-body">
                                <textarea id="Addemail" type="text"
                                          class="form-control"
                                          placeholder="请输入收件人,多人用;隔开！"></textarea>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default"
                        data-dismiss="modal"
                        onclick="saveEmail()">保存
                </button>
            </div>
        </div>
    </div>
</div>
{% endblock %}